/**
 * Created by tangting on 2017/9/12.
 */

import Vue from 'vue';
import tpl from './tpl.html';
import commonService from '../../../common/commonService';
import Loading from '../../../../grsc-base/component/Loading.vue';
import lib from '../../../../src/common/lib'

export default Vue.extend({
    name: "header",
    template: tpl,
    components: {
        Loading
    },
    data(){
        return {
            isLoading: false,
            isLogin:lib.isLogin()
        }
    },
    mounted(){
    },
    methods: {
        toRegister(){
            location.href = './login.html';
        },
    }
});
